package com.wit.po;

import java.sql.Timestamp;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Client entity. @author MyEclipse Persistence Tools
 */

public class Client implements java.io.Serializable {

	// Fields
	public static final int CLIENT_ID_LENGTH = 10; 
	private String clientId;
	private Area area;
	private Employee employee;
	private Clientlevel clientlevel;
	private String clientName;
	private String clientIdcard;
	private String clientSex;
	private String clientType;
	private String clientlevelId;
	private String clienttelephone;
	private String clientPhone;
	private String clientfax;
	private String clientemail;
	private String clientAddress;
	private String clientPostcode;
	private Date clientBorndate;
	private String clientIndustry;
	private String cbank;
	private String caccount;
	private String cbackg;
	private String chobby;
	private String risk;
	private String clmemo;
	private Timestamp recordTime;
	private String cardType;
	private Date activeToDate;
	private String workCompany;
	private String maryState;
	private String positionName;
	private String eduState;
	private String countyBook;
	private String stateBook;
	private String stateBookadd;
	private Date addDate;
	private Set contactmans = new HashSet(0);
	private Set policies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Client() {
	}

	/** minimal constructor */
	public Client(String clientId) {
		this.clientId = clientId;
	}

	/** full constructor */
	public Client(String clientId, Area area, Employee employee,Clientlevel clientlevel,
			String clientName, String clientIdcard, String clientSex,
			String clientType, String clientlevelId, String clienttelephone,
			String clientPhone, String clientfax, String clientemail,
			String clientAddress, String clientPostcode, Date clientBorndate,
			String clientIndustry, String cbank, String caccount,
			String cbackg, String chobby, String risk, String clmemo,
			Timestamp recordTime, String cardType, Date activeToDate,
			String workCompany, String maryState, String positionName,
			String eduState, String countyBook, String stateBook,
			String stateBookadd, Date addDate, Set contactmans, Set policies) {
		this.clientId = clientId;
		this.area = area;
		this.employee = employee;
		this.clientlevel = clientlevel;
		this.clientName = clientName;
		this.clientIdcard = clientIdcard;
		this.clientSex = clientSex;
		this.clientType = clientType;
		this.clientlevelId = clientlevelId;
		this.clienttelephone = clienttelephone;
		this.clientPhone = clientPhone;
		this.clientfax = clientfax;
		this.clientemail = clientemail;
		this.clientAddress = clientAddress;
		this.clientPostcode = clientPostcode;
		this.clientBorndate = clientBorndate;
		this.clientIndustry = clientIndustry;
		this.cbank = cbank;
		this.caccount = caccount;
		this.cbackg = cbackg;
		this.chobby = chobby;
		this.risk = risk;
		this.clmemo = clmemo;
		this.recordTime = recordTime;
		this.cardType = cardType;
		this.activeToDate = activeToDate;
		this.workCompany = workCompany;
		this.maryState = maryState;
		this.positionName = positionName;
		this.eduState = eduState;
		this.countyBook = countyBook;
		this.stateBook = stateBook;
		this.stateBookadd = stateBookadd;
		this.addDate = addDate;
		this.contactmans = contactmans;
		this.policies = policies;
	}

	// Property accessors

	public String getClientId() {
		return this.clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public Area getArea() {
		return this.area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public String getClientName() {
		return this.clientName;
	}

	public void setClientName(String clientName) {
		this.clientName = clientName;
	}

	public String getClientIdcard() {
		return this.clientIdcard;
	}

	public void setClientIdcard(String clientIdcard) {
		this.clientIdcard = clientIdcard;
	}

	public String getClientSex() {
		return this.clientSex;
	}

	public void setClientSex(String clientSex) {
		this.clientSex = clientSex;
	}

	public String getClientType() {
		return this.clientType;
	}

	public void setClientType(String clientType) {
		this.clientType = clientType;
	}

	public String getClientlevelId() {
		return this.clientlevelId;
	}

	public void setClientlevelId(String clientlevelId) {
		this.clientlevelId = clientlevelId;
	}

	public String getClienttelephone() {
		return this.clienttelephone;
	}

	public void setClienttelephone(String clienttelephone) {
		this.clienttelephone = clienttelephone;
	}

	public String getClientPhone() {
		return this.clientPhone;
	}

	public void setClientPhone(String clientPhone) {
		this.clientPhone = clientPhone;
	}

	public String getClientfax() {
		return this.clientfax;
	}

	public void setClientfax(String clientfax) {
		this.clientfax = clientfax;
	}

	public String getClientemail() {
		return this.clientemail;
	}

	public void setClientemail(String clientemail) {
		this.clientemail = clientemail;
	}

	public String getClientAddress() {
		return this.clientAddress;
	}

	public void setClientAddress(String clientAddress) {
		this.clientAddress = clientAddress;
	}

	public String getClientPostcode() {
		return this.clientPostcode;
	}

	public void setClientPostcode(String clientPostcode) {
		this.clientPostcode = clientPostcode;
	}

	public Date getClientBorndate() {
		return this.clientBorndate;
	}

	public void setClientBorndate(Date clientBorndate) {
		this.clientBorndate = clientBorndate;
	}

	public String getClientIndustry() {
		return this.clientIndustry;
	}

	public void setClientIndustry(String clientIndustry) {
		this.clientIndustry = clientIndustry;
	}

	public String getCbank() {
		return this.cbank;
	}

	public void setCbank(String cbank) {
		this.cbank = cbank;
	}

	public String getCaccount() {
		return this.caccount;
	}

	public void setCaccount(String caccount) {
		this.caccount = caccount;
	}

	public String getCbackg() {
		return this.cbackg;
	}

	public void setCbackg(String cbackg) {
		this.cbackg = cbackg;
	}

	public String getChobby() {
		return this.chobby;
	}

	public void setChobby(String chobby) {
		this.chobby = chobby;
	}

	public String getRisk() {
		return this.risk;
	}

	public void setRisk(String risk) {
		this.risk = risk;
	}

	public String getClmemo() {
		return this.clmemo;
	}

	public void setClmemo(String clmemo) {
		this.clmemo = clmemo;
	}

	public Timestamp getRecordTime() {
		return this.recordTime;
	}

	public void setRecordTime(Timestamp recordTime) {
		this.recordTime = recordTime;
	}

	public String getCardType() {
		return this.cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public Date getActiveToDate() {
		return this.activeToDate;
	}

	public void setActiveToDate(Date activeToDate) {
		this.activeToDate = activeToDate;
	}

	public String getWorkCompany() {
		return this.workCompany;
	}

	public void setWorkCompany(String workCompany) {
		this.workCompany = workCompany;
	}

	public String getMaryState() {
		return this.maryState;
	}

	public void setMaryState(String maryState) {
		this.maryState = maryState;
	}

	public String getPositionName() {
		return this.positionName;
	}

	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}

	public String getEduState() {
		return this.eduState;
	}

	public void setEduState(String eduState) {
		this.eduState = eduState;
	}

	public String getCountyBook() {
		return this.countyBook;
	}

	public void setCountyBook(String countyBook) {
		this.countyBook = countyBook;
	}

	public String getStateBook() {
		return this.stateBook;
	}

	public void setStateBook(String stateBook) {
		this.stateBook = stateBook;
	}

	public String getStateBookadd() {
		return this.stateBookadd;
	}

	public void setStateBookadd(String stateBookadd) {
		this.stateBookadd = stateBookadd;
	}

	public Date getAddDate() {
		return this.addDate;
	}

	public void setAddDate(Date addDate) {
		this.addDate = addDate;
	}

	public Set getContactmans() {
		return this.contactmans;
	}

	public void setContactmans(Set contactmans) {
		this.contactmans = contactmans;
	}

	public Set getPolicies() {
		return this.policies;
	}

	public void setPolicies(Set policies) {
		this.policies = policies;
	}
	public Clientlevel getClientlevel() {
		return this.clientlevel;
	}

	public void setClientlevel(Clientlevel clientlevel) {
		this.clientlevel = clientlevel;
	}

}